﻿using System;
using System.ComponentModel.Composition;
using System.Windows.Documents;
using Caliburn.Micro;
using PocketBook.Properties;
using PocketBook.Tasks;

namespace PocketBook.ViewModels
{
    [Export(typeof(PrintPreviewViewModel))]
    public sealed class PrintPreviewViewModel : Screen, IDialog
    {
        public PrintPreviewViewModel()
        {
            DisplayName = Resources.Caption_PrintPreview;
        }

        public event EventHandler<DialogResultCompletionEventArgs> Completed;

        public IDocumentPaginatorSource Document { get; set; }
    }
}